package com.anjie.powerproject.config;

import java.util.Date;

public abstract class DataObject {
    private Date timestamp;

    public DataObject(Date timestamp) {
        this.timestamp = timestamp;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "DataObject{" +
                "timestamp=" + timestamp +
                '}';
    }
}
